import React from 'react';
import ReactDOM from 'react-dom';
import { AppContainer as ReactHotContainer } from 'react-hot-loader';
import App from './App.js';
import fastclick from 'fastclick';

fastclick.attach(document.body);

const AppContainer = process.env.NODE_ENV === 'development' ? ReactHotContainer : Fragment;

ReactDOM.render(<AppContainer><App/></AppContainer>, document.getElementById('root'))